package com.publicize.entity.Vo;


import lombok.Data;

@Data
public class QueryVo {

    private String key;
    /**
     * 总页数
     */

    private Integer pageSize;
    /**
     * 每页数据
     */
    private Integer currentPage;
    /**
     * 排序方式
     */
    private Integer sortkind;

    private Integer start;
    public Integer getStart() {
        this.start=(currentPage-1)*pageSize;
        return this.start;
    }
}
